package com.zhiyou.service;

import com.github.pagehelper.PageInfo;
import com.zhiyou.entity.House;
import com.zhiyou.entity.Lessee;
import com.zhiyou.entity.Rent;
import com.zhiyou.entity.Role;

import java.util.List;

public interface RoleService {


    PageInfo<Role> getAll(String like, Integer pageNo, Integer pageSize);

    int insert(String rName, String rDesc);

    int delete(Integer rId);

    boolean checkRName(String rName);


    Role selectOneByRId(Integer rId);

    int update(Role role);
}
